import request from './axios.js'
import qs from 'qs'

export function login(params) {
  return request({
    url: '/login',
    method: 'post',
    data:params
  })
}

export function logout() {
  return request({
    url: '/logout',
    method: 'get'
  })
}

